package com.whynot.frame.ms.mapper;

import com.whynot.frame.basic.mybatis.conroller.model.PageData;
import com.whynot.frame.ms.entities.SysRole;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * 描    述:数据库层：角色接口
 * 创建时间: 2018/06/20
 */
public interface RoleMapper extends BaseMapper<SysRole>{

    int insertRoleMenu(List<Map> list);

    int deleteByRM(Map map);

    int deleteByMenuId(String userId);

    int deleteByRoleId(String roleId);
}